// 列表左侧
export interface ListLeftItem {
  id?: string;
  parentId?: any;
  order?: number;
  title?: string;
  cover?: string;
  summary?: string;
  content?: any;
  html?: any;
  toc?: any;
  status?: string;
  views?: number;
  likes?: number;
  isCommentable?: boolean;
  publishAt?: string;
  createAt?: string;
  updateAt?: string;
}

// 右侧文章分类
export interface ClassifyListItem {
  id?: string;
  label?: string;
  value?: string;
  createAt?: string;
  updateAt?: string;
  articleCount?: number;
}

// 右侧推荐阅读
export interface ArticleListItem {
  id: string;
  title: string;
  cover: string;
  summary: string;
  content: string;
  html: string;
  toc: string;
  status: string;
  views: number;
  likes: number;
  isRecommended: boolean;
  needPassword: boolean;
  isCommentable: boolean;
  publishAt: string;
  createAt: string;
  updateAt: string;
  tags: any[];
  category: Category;
}

interface Category {
  id: string;
  label: string;
  value: string;
  createAt: string;
  updateAt: string;
}